Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'obj[i]['id'] ''' at line 1 in /home/neotechit/public_html/clients-website/adhrvenu/neoadmin/includes/comman_functions.php:316 Stack trace: #0 /home/neotechit/public_html/clients-website/adhrvenu/neoadmin/includes/comman_functions.php(316): PDO->query('SELECT * FROM p...') #1 /home/neotechit/public_html/clients-website/adhrvenu/sproduct.php(7): select_row('products', 'id='' obj[i]['...') #2 {main} thrown in /home/neotechit/public_html/clients-website/adhrvenu/neoadmin/includes/comman_functions.php on line 316